//
//  MYAB.m
//  GiftSpeak
//
//  Created by dllo on 15/10/9.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#import "MYAB.h"

@implementation MYAB
+ (void)forMyAb:(MBProgressHUD *)hua
{
    hua.mode = MBProgressHUDModeText;
    hua.labelFont = [UIFont systemFontOfSize:15];
    hua.yOffset = [UIScreen mainScreen].bounds.size.width / 3 * 2 - 50;
    hua.margin = 10;
    hua.cornerRadius = 3;
    hua.animationType = MBProgressHUDAnimationZoom;
    [hua show:YES];
    hua.animationType = MBProgressHUDAnimationFade;
    [hua hide:YES afterDelay:2];
}
@end
